<%@ page import="com.edusite.Personas" %>
<html>
    <head>
        <title><g:layoutTitle default="Entorno Educativo" />
        </title>
        <link rel="stylesheet" 
           href="${resource(dir:'css',file:'mainAlumno.css')}" />
        <link rel="shortcut icon" 
           href="${resource(dir:'images',file:'favicon.ico')}" 
           type="image/x-icon" />
        <g:layoutHead />
        <g:javascript library="application" />
        <resource:calendarMonthView skin="calendarmonthview"/>        
    </head>
    
    <body>
      <div id="page">
        <div id="spinner" class="spinner" style="display:none;">
            <img src="${resource(dir:'images',file:'spinner.gif')}" 
               alt="Spinner" />
        </div>

        <g:render template="/common/topbar" />

      

            <div id="header">
               <h1> Centro Educativo </h1>
            </div>

            <div id= "content">
	        <g:layoutBody />
	    </div>

	    <div id="sidebar">
	    <g:link controller="avisos" action="createAlumno">
	        <div id="panelBoton">
        	Agenda
    		</div>
	    </g:link>
	    
	    <div id="fcalendario">
	    <richui:calendarMonthView align=left items="${avisosInstanceList}" createLink="true" constraintDateFields="['fecharealiz']" displayField="tipo" teaser="true" teaserLength="0" weekOfYear="false" dayAction="dia" dayController="avisos" action="showAlumno"/>
	    </div>

	    	   <div id="barra">
	    	     <g:link controller="correos" action="listAlumno">Correos</g:link>
	    	   </div>
	    	    <div id="superior">	    	    
	    	    <g:render template="/alumnos/listCorreos" />
	    	   </div>
	    	   <div id="cierre">
	    	   </div>
	    	  <g:link controller="muro" action="list">
    			<div id="panelBoton">
        		Muro
    			</div>
    		   </g:link>

		  <A HREF="javascript:abrirVentana()">
		      <div id="panelBoton">
	    	       Chat
	    	      </div>
	    	   </A> 
	    	   
		  <A HREF="javascript:abrirVentanaV()">
		      <div id="panelBoton">
	    	       Videoclases
	    	      </div>
	    	   </A> 
	    	   
	    	    <div id="barra">
	    	     <g:link controller="contactos" action="createAlum">Amigos</g:link>
	    	   </div>
  	    	   <div id="superior">
	    	    <g:render template="/contactos/list" />
	    	   </div>
	    	   <div id="cierre">
	    	   </div>
	    	   
	    	   <div id="barra">
	    	     <g:link controller="Avisos" action="list">Asignaturas</g:link>
	    	   </div>
  	    	   <div id="superior">
	    	    <g:render template="/alumnos/listCursos" />
	    	   </div>
	    	   <div id="cierre">
	    	   </div>
	    	   

	    	   
  	    	   

	    	   
	    	   
	     </div>
        <div id="footer">
	    <g:render template="/common/footer" />
	</div>
	</div>
	
    </body>
</html>
